package org.suk.dp.proxy;

import java.text.MessageFormat;

/**
 * Description: <br/>
 *
 * @version V1.0  2017/6/20 16:27  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Pursuit implements GiveGift {
    private SchoolGirl girl;

    public Pursuit(SchoolGirl girl) {
        this.girl = girl;
    }

    @Override
    public void giveDolls() {
        System.out.println(MessageFormat.format("{0}送你洋娃娃",this.girl.getName()));
    }

    @Override
    public void giveFlowers() {
        System.out.println(MessageFormat.format("{0}送你花",this.girl.getName()));
    }

    @Override
    public void giveChocolate() {
        System.out.println(MessageFormat.format("{0}送你巧克力",this.girl.getName()));
    }
}
